package com.wwz.frame;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

/**
 * 忽略过滤URL的实现
 * 可以在CustomFilter类添加@Component,@Configuration注入filter,但这种方法会导致拿不到initParams设置的值。
 * 正确做法在启动类中添加@ServletComponentScan
 * */
@SpringBootApplication
@ServletComponentScan
public class FilterApplication {
    public static void main(String[] args) {
        SpringApplication.run(FilterApplication.class);
    }
}
